package com.a.l;

import android.os.Parcel;
import android.os.Parcelable;

public class RegisterResp implements Parcelable {
   private String resultCode;
   private String resultMsg;

    protected RegisterResp(Parcel in) {
        resultCode = in.readString();
        resultMsg = in.readString();
    }

    public RegisterResp() {
    }

    public RegisterResp( String resultCode, String resultMsg) {
        this.resultCode = resultCode;
        this.resultMsg = resultMsg;
    }
    public void readFromParcel(Parcel in) {
        resultCode = in.readString();
        resultMsg = in.readString();
    }

    public static final Creator<RegisterResp> CREATOR = new Creator<RegisterResp>() {
        @Override
        public RegisterResp createFromParcel(Parcel in) {
            return new RegisterResp(in);
        }

        @Override
        public RegisterResp[] newArray(int size) {
            return new RegisterResp[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(resultCode);
        dest.writeString(resultMsg);
    }


    public String getResultCode() {
        return resultCode;
    }

    public void setResultCode(String resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultMsg() {
        return resultMsg;
    }

    public void setResultMsg(String resultMsg) {
        this.resultMsg = resultMsg;
    }

    public static Creator<RegisterResp> getCREATOR() {
        return CREATOR;
    }
}
